import request from "@/nx/request";

export default{
  // 获取联系人列表
  getContactList: (data) => request({
    url:'/crm/contact',
    method: 'GET',
    data
  }),
  // 添加联系人
  addContact: (data) => request({
    url:'/crm/contact',
    method: 'POST',
    data
  }),
  // 获取联系人详情
  getContactDetail: (data)=>request({
    url: '/crm/contact/detail',
    method: 'GET',
    data
  })
}